package main

import (
	"fmt"
)

//指针的简单介绍
func add(a *int) int {
	*a = *a + 1
	return *a
}

func main() {
	x := 3
	x1 := add(&x)
	fmt.Println(x)
	fmt.Println(x1)
}
